<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%String path = request.getContextPath();%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fm" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>中林-首页</title>
    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/style.css" />
    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/index.css" />
    <script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.js"></script>
    <script type="text/javascript" src="<%=request.getContextPath()%>/js/zhonglin.js"></script>
</head>
<body>
<%--<c:import url="header.jsp"/>--%>
<%--//(等于是将两个jsp合并为一个jsp)或--%>
<%--<%@ include file="header.jsp" %>--%>
<%--//(相当于将两个jsp执行后的内容合并成一个页面)--%>
<jsp:include page="header.jsp"/>

<!--logo search 开始-->
<div class="hd-info1 w1200">
    <div class="logo f-l">
        <h1><a href="#" title="中林网站"><img src="<%=request.getContextPath()%>/images/logo.jpg" /></a></h1>
    </div>
    <div class="dianji f-r">
        <div class="btn1">
            <button class="btn1-l" onclick="window.open('${pageContext.request.contextPath}/user/toRegister.action')">注册</button>
            <button class="btn1-r" onclick="window.open('${pageContext.request.contextPath}/user/toLogin.action')">登录</button>
            <div style="clear:both;"></div>
        </div>
        <button class="btn2">商家入口    ></button>
    </div>
    <div class="search f-r">
        <ul class="sp">
            <li class="current" ss-search="sp"><a href="JavaScript:;">商品</a></li>
            <li ss-search="dp"><a href="JavaScript:;">店铺</a></li>
            <div style="clear:both;"></div>
        </ul>
        <div class="srh">
            <div class="ipt f-l">
                <input type="text" placeholder="搜索商品..." ss-search-show="sp" />
                <input type="text" placeholder="搜索店铺..." ss-search-show="dp" style="display:none;" />
            </div>
            <button class="f-r">搜 索</button>
            <div style="clear:both;"></div>
        </div>
        <ul class="sp2">
            <li><a href="#">绿豆</a></li>
            <li><a href="#">大米</a></li>
            <li><a href="#">驱蚊</a></li>
            <li><a href="#">洗面奶</a></li>
            <li><a href="#">格力空调</a></li>
            <li><a href="#">洗发护发</a></li>
            <li><a href="#">葡萄 </a></li>
            <li><a href="#">脉动</a></li>
            <li><a href="#">海鲜水产</a></li>
            <div style="clear:both;"></div>
        </ul>
    </div>

    <div style="clear:both;"></div>
</div>

<!--切换城市-->
<%@include file="city.jsp"%>

<!--nav 开始-->
<%--<jsp:include page="navigation.jsp"/>--%>
<%@include file="navigation.jsp"%>

<!--banner 开始-->
<%@include file="banner.jsp"%>


<!--广告栏-->
<%@include file="unused/ad.jsp"%>

<!--热门推荐-->
<%@include file="hot.jsp"%>

<!--广告栏-->
<div class="advertisement w1200">
    <p style="text-align:center;font-size:15px;color:#000;line-height:74px;">广告栏</p>
</div>

<!--1 在线商城-->
<%@include file="onlineMarket.jsp"%>

<!--2 餐饮娱乐-->
<%@include file="dining.jsp"%>


<%@include file="foot.jsp"%>

</body>
</html>
